package rig.com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import rig.com.service.ActivityService;

/**
 * @author Rig
 * @create 2021/9/22 14:52
 **/
@RequestMapping("/activity")
@RestController
public class ActivityController {

//    @Autowired
//    ActivityService activityService;
//
//    @RequestMapping("/quick/{activityId}")
//    public ResponseEntity<String> quick(@PathVariable Long activityId) {
//        Boolean quick = activityService.quick(activityId);
//        return ResponseEntity.ok(quick ? "SUCCESS" : "ERROR");
//    }

}
